package com.laomuji.android.mvvm.utils

import android.util.Log
import com.laomuji.android.mvvm.BuildConfig

/**
 * 自定义Log
 * @author laomuji666
 * @since 2024/2/20
 */
object MyLog {
    fun iCustom(tag: String, msg: String?) {
        if (!BuildConfig.DEBUG) {
            return
        }
        Log.i(tag, msg ?: "null")
    }

    fun eCustom(tag: String, msg: String?) {
        if (!BuildConfig.DEBUG) {
            return
        }
        Log.e(tag, msg ?: "null")
    }
}